-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat(route53-patterns): HttpsRedirect use Distribution as the default CloudFront distribution (under feature flag)
#34312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| ], | ||
| "Comment": "Redirect to aws.amazon.com from integ-same-region.example.com", | ||
| "DefaultCacheBehavior": { | ||
| "AllowedMethods": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cdk/packages/aws-cdk-lib/aws-cloudfront/lib/distribution.ts
Lines 1051 to 1053 in db62c5f
| * @default AllowedMethods.ALLOW_GET_HEAD | |
| */ | |
| readonly allowedMethods?: AllowedMethods; |
| "GET", | ||
| "HEAD" | ||
| ], | ||
| "CachedMethods": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cdk/packages/aws-cdk-lib/aws-cloudfront/lib/distribution.ts
Lines 1058 to 1060 in db62c5f
| * @default CachedMethods.CACHE_GET_HEAD | |
| */ | |
| readonly cachedMethods?: CachedMethods; |
| "IPV6Enabled": true, | ||
| "Origins": [ | ||
| { | ||
| "ConnectionAttempts": 3, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cdk/packages/aws-cdk-lib/aws-cloudfront/lib/origin.ts
Lines 91 to 93 in db62c5f
| * @default 3 | |
| */ | |
| readonly connectionAttempts?: number; |
| "Origins": [ | ||
| { | ||
| "ConnectionAttempts": 3, | ||
| "ConnectionTimeout": 10, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cdk/packages/aws-cdk-lib/aws-cloudfront/lib/origin.ts
Lines 84 to 86 in db62c5f
| * @default Duration.seconds(10) | |
| */ | |
| readonly connectionTimeout?: Duration; |
| "CustomOriginConfig": { | ||
| "HTTPPort": 80, | ||
| "HTTPSPort": 443, | ||
| "OriginKeepaliveTimeout": 5, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cdk/packages/aws-cdk-lib/aws-cloudfront-origins/lib/vpc-origin.ts
Lines 36 to 38 in db62c5f
| * @default Duration.seconds(5) | |
| */ | |
| readonly keepaliveTimeout?: cdk.Duration; |
| "HTTPSPort": 443, | ||
| "OriginKeepaliveTimeout": 5, | ||
| "OriginProtocolPolicy": "http-only", | ||
| "OriginReadTimeout": 30, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cdk/packages/aws-cdk-lib/aws-cloudfront-origins/lib/vpc-origin.ts
Lines 25 to 27 in db62c5f
| * @default Duration.seconds(30) | |
| */ | |
| readonly readTimeout?: cdk.Duration; |
| ], | ||
| "CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6", | ||
| "Compress": true, | ||
| "ForwardedValues": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
612936b to
01f9b06
Compare
01f9b06 to
a84f437
Compare
a84f437 to
3dd07d0
Compare
3dd07d0 to
9bcfc77
Compare
9bcfc77 to
58ea849
Compare
58ea849 to
fa0caaa
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
fa0caaa to
b8ac8b1
Compare
… CloudFront distribution (under feature flag)
b8ac8b1 to
4570d76
Compare
Issue # (if applicable)
Closes #31546
Reason for this change
CloudFrontWebDistributionis deprecatedDescription of changes
HttpsRedirectuseDistributioninstead of deprecatedCloudFrontWebDistributionunder feature flagPlease check template comments for explanation on each removed param:
ForwardedValuesis deprecated and replaced byCachePolicyIdDescription of how you validated changes
Unit + Integ
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license